package com.itheima.fastjson.pojo;

import com.alibaba.fastjson.annotation.JSONField;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.math.BigDecimal;
import java.util.Date;

@Data
@NoArgsConstructor
@AllArgsConstructor
// 银行卡
public class IdCard {

    private String cardNo;
//    @JSONField(format = "yyyy/MM/dd") // 实际生效在getter setter上
    private Date birthday;
    private BigDecimal balance;
}
